package com.rla.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.rla.common.annotation.ExcelDictFormat;
import com.rla.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 健康数据指标视图对象 base_health_target
 *
 * @author rla
 * @date 2025-07-30
 */
@Data
@ExcelIgnoreUnannotated
public class BaseHealthTargetVo {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 图标路径
     */
    @ExcelProperty(value = "图标路径")
    private String iconUrl;

    /**
     * 指标名称
     */
    @ExcelProperty(value = "指标名称")
    private String targetName;

    /**
     * 指标单位
     */
    @ExcelProperty(value = "指标单位")
    private String targetUnit;

    /**
     * 是否停用（1、停用，0正常）
     */
    @ExcelProperty(value = "是否停用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=、停用，0正常")
    private String isStopUse;


    /**
     * 排序

     */
    @ExcelProperty(value = "排序")
    private Long sort;

}
